package com.ems.service;

import com.ems.entity.TEmp;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.HashMap;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ZZH
 * @since 2022-06-27
 */
public interface ITEmpService extends IService<TEmp> {

    int addEmp(TEmp tEmp);

    int deleteEmp(Integer id);

    int updateEmp(TEmp tEmp);

    List<TEmp> getListEmp();

    double  effective();

    List<TEmp> selectBynum(String name);

    TEmp selectByCode(Integer code);

    HashMap<String,Integer> kindNumEmp();

}
